﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoadClient.YUAN.E
{
    public class CommandRecord
    {

        public CommandRecord()
        {

        }

        public CommandRecord(string name, string writeValue, string nodeString, DateTime recordDateT)
        {
            Name = name;
            WriteValue = writeValue;
            NodeString = nodeString;
            RecordDateT = recordDateT;
        }

        public CommandRecord(string name, string writeValue, string nodeString, DateTime recordDateT, string guid, string guidresult, string cmdguidresult)
        {
            Name = name;
            WriteValue = writeValue;
            NodeString = nodeString;
            RecordDateT = recordDateT;
            Guid = guid;
            GuidResult = guidresult;
            ComandGuidResult = cmdguidresult;
        }


        [Column(IsIdentity = true, IsPrimary = true)]
        public int Id { get; set; }

        public string Name { get; set; }

        public string WriteValue { get; set; }

        public string NodeString { get; set; }

        public DateTime RecordDateT { get; set; }

        public string Guid { get; set; }

        public string GuidResult { get; set; }

        public string ComandGuidResult { get; set; }


    }
}
